package com.dashu.base.enums.common.functionAM;

import java.util.HashMap;
import java.util.Map;

public enum SystemAM {

    SYSTEM_ROLE("角色管理","system/role","role",""),
    SYSTEM_ACCOUNT("账户管理","system/accountList","accountList",""),
    SYSTEM_OPERATION("操作日志","system/errorLog","errorlog","");


    public String name;

    public String url;

    public String path;

    public String icon;


    SystemAM(String name, String url, String path, String icon) {
        this.name = name;
        this.url = url;
        this.path = path;
        this.icon = icon;
    }

    public static final Map<String, SystemAM> map = new HashMap<>();

    static {
        for (SystemAM s : SystemAM.values()) {
            map.put(s.name(), s);
        }
    }
}
